To make Monitor and MonitorProxy start automatically at boot time, you can configure the services to be started Automatically.
For command line usage you pass as arguments the path to the application you want to be launched and then any arguments you want to launch it with. So to start MonitorDaemon for Monitor, you might give the following command:
MonitorDaemon /System/Library/WebObjects/Applications/Monitor.woa/MonitorTo have Monitor launched at system boot time, you must add a startup script to /etc/startup. The scripts in /etc/startup follow a naming convention whereby the first four characters of the script filename are numbers. These numbers signify the order in which the system runs the scripts in /etc/startup. You should start Monitor and MonitorProxy near the end of the boot cycle.
You could add the following script, named 3000_Monitor, to /etc/startup to start MonitorDaemon when the system boots and have it keep Monitor running:
#!/bin/sh # # Start Monitor using MonitorDaemon for WebObjects Deployment # . /etc/rc.common # the following is one line: /System/Library/WebObjects/Applications/Monitor.woa/MonitorDaemon /System/Library/WebObjects/Applications/Monitor.woa/Monitor &